package zhang.lao.service.sms.exception;

/**
 * <p>
 * title:发送短信异常
 * </p>
 * <p>
 * description:
 * </p>
 * 
 * @author 2016 北京太阳花互动科技有限公司 All Rights Reserved.
 * @create zhangqin
 * @update
 * @version 1.0
 * @date 2016年3月18日
 */

public class SmsRunTimeException extends RuntimeException {
	 
    /**
	 * 
	 */
	private static final long serialVersionUID = -612405676650859631L;
	private String code="-1" ;  //异常对应的返回码 -1其他原因 
    private String msg;  //异常对应的描述信息
     
    public SmsRunTimeException() {
        super();
    }
 
    public SmsRunTimeException(String msg) {
        super(msg);
        this.msg = msg;
    }

    public SmsRunTimeException(String code, String msg) {
        super(msg);
        this.code = code;
        this.msg = msg;
    }

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
  
}